package xyz.weblade.test.practice;

import xyz.weblade.beans.BeansException;
import xyz.weblade.beans.factory.ConfigurableListableBeanFactory;
import xyz.weblade.beans.factory.config.BeanFactoryPostProcessor;
import xyz.weblade.beans.factory.config.BeanPostProcessor;

public class BeanPostProcessor02 implements BeanPostProcessor {

    @Override
    public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException {
        System.out.println("22222222222222BeanProcessor222222222222222222");
        return bean;
    }

    @Override
    public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {
        return null;
    }
}
